<div class="pageContent">
  <form method="post" action="#{$smarty.const.ACT}#/admin/CoChap/co_chap_modify/" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone);">
  <input type="hidden" name="id"  value="#{$one.id}#" />
    <div class="pageFormContent" layoutH="56">
      <fieldset>
        <legend>章节基础信息：</legend>
        <dl class="nowrap">
          <dt>名称</dt>
          <dd>
            <input name="name" class="required" type="text" size="30" value="#{$one.name}#" alt="请输帐号"/>
          </dd>
        </dl>
        <dl class="nowrap">
          <dt>匹配网址</dt>
          <dd>
            <input type="text"  name="listurl" class="required" size="50" value="#{$one.listurl}#" alt="请输匹配网址"/>
            <input type="checkbox" name="ismore" value="1" />
            是否为多页,分页用(*)代替 </dd>
        </dl>
        <dl class="nowrap">
          <dt>多页地址设置</dt>
          <dd>
            <table>
              <tr>
                <td>（*）从</td>
                <td><input type="text" name="loop_sid" value="#{$one.loop_sid}#" size="5" /></td>
                <td>到</td>
                <td><input type="text" name="loop_eid" value="#{$one.loop_eid}#" size="5" /></td>
                <td>从(填写页码或规律递增数字)  每页递增</td>
                <td><input type="text" name="loop_add" value="#{$one.loop_add}#" size="5" /></td>
              </tr>
            </table>
          </dd>
        </dl>
        <div class="divider"></div>
        <fieldset>
          <legend>文章网址匹配规则：</legend>
          <dl class="nowrap">
            <dt>列表区域规则：</dt>
            <dd>
              <textarea name="listarea" cols="80" rows="3">#{$one.listarea}#</textarea>
              <span class="info">调用标记：="[列表区域]" </span>
            </dd>
          </dl>
          <dl class="nowrap">
            <dt>对区域网址进行再次筛选：(使用正则表达式)</dt>
            <dd>
              <dl>
              	<dt>必须包含：</dt>
                <input type="text"  name="listmustrule" size="50" value="#{$one.listmustrule}#" alt="请输匹配规则"/>
                <span class="info">(优先级高于后者)</span>
              </dl>
              <dl>
              	<dt>不能包含：</dt>
                <input type="text"  name="listnorule" size="50" value="#{$one.listnorule}#" alt="请输匹配规则"/>
              </dl>              
          </dl>
        </fieldset>
        <div class="divider"></div>
        <fieldset>
          <legend>文章内容匹配规则：</legend>
  				<dl class="nowrap">
				  <dt>匹配网址</dt>
				  <dd>
					<input type="text"  name="bodyurl" class="required" size="50" value="#{$one.bodyurl}#" alt="请输匹配网址"/>
				</dl>
          <dl class="nowrap">
            <dt>文章标题采集规则：</dt>
            <dd>
              <textarea name="title" cols="80" rows="3">#{$one.title}#</textarea>
              <span class="info">调用标记：="【内容区域】" </span>
            </dd>
          </dl>
          <dl class="nowrap">
            <dt>文章标题过滤规则：</dt>
            <dd>
              <textarea name="title_trim" cols="80" rows="3">#{$one.title_trim}#</textarea>
              <span class="info">【过滤规则】=>【替换内容】,一行一条规则</span> </dd>
          </dl>
          <div class="divider"></div>
          <dl class="nowrap">
            <dt>文章内容采集规则：</dt>
            <dd>
              <textarea name="body" cols="80" rows="3">#{$one.body}#</textarea>
              <span class="info">调用标记：="【内容区域】" </span>
            </dd>
          </dl>
          <dl class="nowrap">
            <dt>文章内容过滤规则：</dt>
            <dd>
              <textarea name="body_trim" cols="80" rows="3">#{$one.body_trim}#</textarea>
              <span class="info">【过滤规则】=>【替换内容】,一行一条规则</span> </dd>
          </dl>
        </fieldset>    
      </fieldset>
    </div>
    <div class="formBar">
      <ul>
        <!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
        <li>
          <div class="buttonActive">
            <div class="buttonContent">
              <button type="submit">保存</button>
            </div>
          </div>
        </li>
        <li>
          <div class="button">
            <div class="buttonContent">
              <button type="button" class="close">取消</button>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </form>
</div>
